package com.zk.manual;


import com.zk.junit4.Junit4DemoRunListener;
import org.junit.internal.builders.AnnotatedBuilder;
import org.junit.runner.JUnitCore;
import org.junit.runner.Runner;
import powermock.examples.bytebuddy.mockito.ByteBuddyWithPowerMockitoTest;

public class ManualStartUnitDemo {


    public static void main(String[] args) {

        JUnitCore junitCore = new JUnitCore();
        junitCore.addListener(new Junit4DemoRunListener());
        Runner runner = new AnnotatedBuilder(null).safeRunnerForClass(ByteBuddyWithPowerMockitoTest.class);

        junitCore.run(runner);
    }
}
